package com.soladhoc.webapps.server.guice;

import com.gwtplatform.dispatch.shared.ActionImpl;
import com.soladhoc.webapps.client.domain.Announce;

public class SaveAnnounceAction extends ActionImpl<SaveAnnounceActionResult> {

	private static final long serialVersionUID = -4252311837485273084L;
	private Announce announceToSave;

	@SuppressWarnings("unused")
	private SaveAnnounceAction() {
		// For serialization only
	}

	public SaveAnnounceAction(Announce announceToSave) {
		this.announceToSave = announceToSave;
	}

	public Announce getAnnounceToSave() {
		return announceToSave;
	}
}
